package com.cruise.game.model.vo.chat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 聊天消息VO
 *
 * @author cruise
 * @date 2025-02-28
 */
@Data
@ApiModel("聊天消息VO")
public class ChatMessageVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("消息ID")
    private Long id;

    @ApiModelProperty("消息内容")
    private String message;

    @ApiModelProperty("是否来自用户")
    private Boolean isFromUser;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdAt;
}